/*
 * @Descripttion: 
 * @version: 
 * @Author: dxzheng
 * @Date: 2020-06-19 09:44:26
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2020-06-19 23:37:28
 */
var slide = require('../models/slideImgModel');

var slideImgModel = slide.slideModel;

async function findAllSildeImage() {
    try {
        var data = await slideImgModel.find({});
        return data;
    } catch (error) {
        console.log('database has something wrong!');
    }
}



module.exports = {
    findAllSildeImage: findAllSildeImage
}